<%@page contentType="text/html; charset=UTF-8" trimDirectiveWhitespaces="true" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:if test="${not empty subBom.sub.halfBomList || not empty subBom.sub.halfSubBomList}">
    <ul>
        <c:forEach var="subBom" items="${subBom.sub.halfSubBomList}">
            <li>
                <span>${subBom.sub.name}</span>&#x3000;
                <span><c:forEach var="process" items="${subBom.sub.fmeaProcessTypeList}" varStatus="var"><b>[${process.code}] ${process.name}</b>
                    <c:if test="${!var.last}"> &rarr; </c:if></c:forEach></span>
                <c:if test="${fn:length(subBom.sub.fmeaProcessTypeList) > 0}"><a href="${pageContext.request.contextPath}/fmea/pfmea_half/step1_add/${subBom.sub.id}" class="layui-btn layui-btn-xs layui-btn-normal go-btn hidden-xs">结构分析</a></c:if>
                <c:set var="subBom" value="${subBom}" scope="request" />
                <jsp:include page="/WEB-INF/include/boms_show.jsp" />
            </li>
        </c:forEach>
    </ul>
</c:if>